import http from "@/api";
import { ResPage } from "@/api/interface/index";

export const getAppletPortList = (params: { appId: string }) => {
	return http.get<ResPage<any[]>>(`/service/app/port/find`, params);
};
export const addAppletPort = (params: any) => {
	return http.post(`/service/app/port/add`, params);
};
export const delAppletPort = (params: any) => {
	return http.post(`/service/app/port/remove`, params);
};
export const modAppletPort = (params: any) => {
	return http.post(`/service/app/port/modify`, params);
};
